package com.mvp.shq.washer.ui.shop.order.orderdesc;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.result.OrderDataListResult;

import io.reactivex.Observable;


/**
 * Created by westing on 2017/10/11.
 */

public interface OrderDescConstract {
    interface View extends BaseView{
        void getOrderDetail(OrderDataListResult orderDataListResult);
    }
    interface Model extends BaseModel{
        Observable<BaseResult<OrderDataListResult>> getOrderDetail(String token, String userId, String orderId);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getOrderDetail(String orderId);
    }
}
